package com.palace.saw.module.app.controller.admin.configdata.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 配置项数据 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ConfigDataRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "28039")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "配置排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("配置排序")
    private Integer sort;

    @Schema(description = "配置项名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("配置项名称")
    private String label;

    @Schema(description = "配置项值", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("配置项值")
    private String value;

    @Schema(description = "配置类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("配置类型")
    private String dictType;

    @Schema(description = "状态（0正常 1停用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("状态（0正常 1停用）")
    private Integer status;

    @Schema(description = "配置含义说明", example = "你猜")
    @ExcelProperty("配置含义说明")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}